public interface Iterator<Item>
{
    Item next();

    boolean hasNext();
}
